#include"CRectangle.h"
int main()
{
	CRectangle*rectb;
	CRectangle*rectc = new CRectangle();
	rectc->setValues(8,9);
	rectb=rectc;
	cout<<"area:"<<rectb->area();
	cout<<"area:"<<rectc->area();
	_getch();
	return 0;
}